package com.fusion.greenplum.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.fusion.greenplum.service.TestService;

@RestController
public class TestController {
	
	@Autowired
	private TestService testService;

	@GetMapping("test")
	public ResponseEntity<Object> test(){
		testService.test();
		return ResponseEntity.ok(testService.list2());
	}
}
